<template>
	<div class="tab-bar">
		<slot></slot>
	</div>
</template>

<script>
	export default {
	  name: 'TabBar'
	}
</script>

<style>
	.tab-bar {
		  display: flex;  
		  text-align: center;
		  height: 49px;
		  
		  background-color: #f6f6f6;
		  
		  position: fixed; /* 显示在底部,占据整个屏幕宽度 */
		  left: 0;
		  right: 0;
		  bottom: 0;
		  
		  box-shadow: 0 -1px 1px rgba(100,100,100,.2);  /* 顶部阴影 */
	}
</style>
